package com.chahu.entity;

import lombok.Data;

@Data
public class Order {
    Long id;
    String name;
    String address;
    String mail;
    String phone;
    String note;
    Integer payment;
    Integer delivery;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public String getAddress() {
		return address;
	}
	public String getMail() {
		return mail;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", name=" + name + ", address=" + address + ", mail=" + mail + ", phone=" + phone
				+ ", note=" + note + ", payment=" + payment + ", delivery=" + delivery + "]";
	}
	public void setNote(String note) {
		this.note = note;
	}
	public void setPayment(Integer payment) {
		this.payment = payment;
	}
	public void setDelivery(Integer delivery) {
		this.delivery = delivery;
	}
	public String getPhone() {
		return phone;
	}
	public String getNote() {
		return note;
	}
	public Integer getPayment() {
		return payment;
	}
	public Integer getDelivery() {
		return delivery;
	}
}
